<div class="row">
    <div class="col-xs-9 box space-section shadow">
        <div class="col-xs-12 space-section">
            <label class="title"><strong><?php echo $post->title;?></strong></label>
        </div>
        <div class="col-xs-offset-1 col-xs-11 box-post space-section">
            <p>Trường: <?php echo $post->university->name;?></p>
            <p>Môn: <?php echo $post->course->name;?></p>
            <p>Thể loại: <?php echo $post->type->name;?></p>
            <p>Giảng viên: <?php echo $post->teacher->name;?></p>
            <span>Đăng: <?php echo date('\n\g\à\y d \t\h\á\n\g m \n\ă\m\ Y', $post->created_at);?> - Bởi <?php echo $post->users->username;?></span>
        </div>
        <div class="col-xs-12 space-section">
            <label>Nội dung</label>
        </div>
        <div class="col-xs-offset-1 col-xs-11 anpha beta">
            <p><?php echo $post->description;?></p>
        </div>
        <div class="col-xs-12 space-section">
            <label>Tải file ở đây: </label>
        </div>
        <div class="col-xs-offset-1 col-xs-11 anpha beta">
           
        </div>
        <div class="col-xs-12 space-max beta">
            <div class="row">
                <div class="col-xs-3">
                    <a class="links" href="#">Hỏi đáp về đề thi</a>
                </div>
                <div class="col-xs-8 anpha">
                    <span class="hint">10 câu hỏi / 31 câu trả lời</span>
                </div>
            </div>
        </div>
        <div class="col-xs-12 space-max beta">
            <div class="row">
                <div class="col-xs-12">
                    <label class="label-sidbar">Các đề thi khác</label>
                </div>
                <div class="col-xs-offset-1 col-xs-11 space-section anpha">
                    <ul class="underline">
                        <?php foreach($post_others as $data):?>
                        <li>
                            <?php echo \Fuel\Core\Html::anchor('frontend/post/view/'.$data->slug.'/'.$data->id, $data->title." - <span class='hint'>".$data->university->name." - năm ".$data->year."</span>");?>
                        </li>
                        <?php endforeach;?>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="col-xs-3 beta">
        <ul class="nav nav-divider space-section box">
            <li class='<?php echo isset($subnav) && $subnav == "home" ? "active" : ""; ?>'>
                <?php echo \Fuel\Core\Html::anchor('home/index', 'Trang chủ');?>
            </li>
            <li class='<?php echo isset($subnav) && $subnav == "index" ? "active" : ""; ?>'>
                <?php echo \Fuel\Core\Html::anchor('frontend/post/index', 'Đề thi');?>
            </li>
            <li class='<?php echo isset($subnav) && $subnav == "create_post" ? "active" : ""; ?>'>
                <?php echo \Fuel\Core\Html::anchor('frontend/post/create', 'Đăng đề thi');?>
            </li>
            <li class='<?php echo isset($subnav) && $subnav == "index_happy" ? "active" : ""; ?>'>
                <?php echo \Fuel\Core\Html::anchor('frontend/happy/index', 'Chém gió');?>
            </li>
        </ul>
    </div>
</div>